<div class="app-content">
    <div class="wrapper bg-white text-center">
        <div class="clearfix">
            <a ui-sref="mark.markers({workId:marker.workId})" class="block pull-left">
                <i class="icon icon-arrow-left fa-3x"></i>
            </a>
            <a href="" class="block padder pull-right">
                <i class="fa fa-ellipsis-v fa-3x"></i>
            </a>
        </div>
        <div class="text-center">
            <h1 ng-bind="marker.name"></h1>
            <span>18657434565</span>
        </div>
        <div class="wrapper">
          <a ui-sref="mark.markertasks({markerId:marker.id})" class="btn btn-rounded btn-primary">分配任务</a>&nbsp;
          <a href="" class="btn btn-rounded btn-default">评卷质量</a>
        </div>
        <p class="m-t text-md">总进度</p>
        <div class="hbox">
            <div class="col text-center text-muted">
                <span class="block text-md">已评数</span>
                <span class="text-2x" ng-bind="marker.completeCount"></span>
            </div>
            <div class="col text-center">
                <span class="chart" easypiechart options="options" percent="marker.progress">
          <span class="percent" ng-bind="marker.progress"></span>
                </span>
            </div>
            <div class="col text-center text-muted">
                <span class="block text-md">总份数</span>
                <span class="text-2x" ng-bind="marker.totalCount"></span>
            </div>
        </div>
    </div>
    <div class="wrapper">
        <div class="row">
            <div class="col-md-3" ng-repeat="t in tasks | orderBy:updatedTime:reverse">
                <div class="panel hover-anchor" ng-class="{'b b-success':t.progress == 100}" style="position:relative">
                    <div class="panel-heading b-b b-light text-md">
                        <a ui-sref="mark.taskpapers({taskId:t.id,markerId:marker.id})" class="" ng-bind="t.markSubjectName"></a>
                        <span class="pull-right text-success" ng-if="t.progress == 100">已完成</span>
                        <span class="pull-right" ng-if="t.progress != 100" ng-bind="t.progress+'%'"></span>
                    </div>
                    <a ng-click="removeTasks(t)" class="remove-btn hover-action"><i class="icon icon-close fa-2x bg-dark"></i></a>
                    <div class="hbox text-center text-sm">
                        <div class="col padder-v text-muted">
                            <span class="text-md text-primary font-bold" ng-bind="t.leftCount"></span>
                            <span class="block m-b-xs">剩余数</span>
                        </div>
                        <div class="col padder-v text-muted">
                            <span class="text-md text-primary font-bold" ng-bind="t.totalCount"></span>
                            <span class="block m-b-xs">总份数</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
